package net.zjitc.dao;

import net.zjitc.pojo.Product;
import net.zjitc.utils.PageBean;

import java.util.List;

/**
 * Created by Administrator on 2017/11/22.
 */
public interface ProductDao {
    PageBean<Product> findPageBean(int page, int pageSize);


    int insert(Product product);

    int delete(int pid);

    Product selectProduct(int pid);

    int update(Product product);

    List<Product> findIsHot();

    List<Product> findNew();

}
